package com.kingtsoft.study.webserivce.imp;

import com.alibaba.dubbo.config.annotation.Reference;
import com.kingtsoft.study.model.StudyHomeworkDetail;
import com.kingtsoft.study.service.StudyHomeworkCheckService;
import com.kingtsoft.study.service.StudyHomeworkDetailService;
import org.springframework.stereotype.Service;

import com.kingtsoft.study.webserivce.WebStudyHomeworkCheckService;

import java.util.List;

@Service
public class WebStudyHomeworkCheckServiceImpl implements WebStudyHomeworkCheckService {

    @Reference
    private StudyHomeworkCheckService studyHomeworkCheckService;

    @Override
    public List<StudyHomeworkDetail> check(String homeworkId) {
        List<StudyHomeworkDetail> list = studyHomeworkCheckService.check(homeworkId);
        return list;
    }

}
